home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Graphics / Plotting / aa_Intel_Only / Gnuplot / Unused / 0INSTALL < prev    next >
Encoding:
Text File  |  1995-06-12  |  9.1 KB  |  236 lines

  1. The GNUPLOT source code and executables may be copied and/or modified
  2. freely as long as the copyright messages are left intact.
  3.  
  4. See the History file for changes to GNUPLOT.
  5.  
  6. Compilation instructions are near the end of this file.
  7.  
  8. GNUPLOT has been tested on Sun3's and Sun4's (SunOS 4.0.3 and 4.1.1),
  9. a VAX 6410 (VMS 5.2), Commodore Amiga's (KS/WB 1.3 and 2.0, SAS/C 6.2
  10. and Aztec C beta 5.2a), IBM PC XT's and AT's (MS-DOS 3.3/5.0 BC++
  11. 3.1/TC++ 1.0 MSC 7.0), IRIS 4D/70G and 4D/25G with MIPS C, NeXT with
  12. gnu C 1.34, DECStation 5000/200PXG (ULTRIX V4.1), AT&T 3B1 (version
  13. 3.51m with cc and gcc 1.39), and Apollo's (DomainOS SR10.3 BSD4.3
  14. with C compiler 68K Rev 6.7(316)).  The code is written with
  15. portability in mind.  GNUPLOT has not been tested on Pyramid 90x.
  16.  
  17. Send your comments, suggestions, or modifications to
  18.   info-gnuplot@dartmouth.edu
  19. This is a mailing list; to join it send a note to
  20.   info-gnuplot-request@dartmouth.edu
  21. Send bug reports to
  22.   bug-gnuplot@dartmouth.edu
  23.   [Please tell us the version and machine on which your bug occurred.]
  24. You can also post to the Usenet group
  25.   comp.graphics.gnuplot
  26.  
  27.  
  28.                        PREPROCESSOR #DEFINES
  29.  
  30. These #defines should be checked before compilation (see the makefiles):
  31. define      file            note
  32. ------      ----            --------
  33. NOVFORK     Makefile        define if you don't have the vfork() system call
  34. GAMMA       Makefile        define if you've got gamma(3)
  35. MEMCPY      Makefile        define if your bcopy() is called memcpy()
  36. MEMSET      Makefile        define if you have memset() but not bzero()
  37. NOCOPY      Makefile        define if you've don't have a memcpy() by any name
  38. bcopy()     plot.h          define if you've got a memcpy() by some OTHER name
  39.                               (see example in plot.h)
  40. PC          Makefile        define if compiling on a PClone
  41. MSDOS       Makefile        define if compiling under MSDOS;
  42.                               automatically defined by Microsoft C 5.10
  43. HELPFILE    Makefile        name including path of gnuplot.gih file.
  44. VERYLARGE   plot.h          define to be largest coordinate number.
  45. SHELL       plot.h          default shell to spawn if SHELL environment
  46.                               variable not found at run-time
  47. NOCWDRC     Makefile        define to inhibit check of ./.gnuplot
  48. READLINE    Makefile        define if you want command-line editing
  49.  
  50. Valid TERMFLAGS defines.  These defines are used to include the
  51. various plotting terminals, printers, and protocols that a given version
  52. of gnuplot can access:
  53.  
  54. define      file            note
  55. ------      ----            --------
  56. TERMFLAGS   Makefile        the set of terminals you want, from below
  57.             or term.h
  58.  
  59.    AED         AED 512 and AED 767
  60.    AIFM        Adobe Illustrator Format
  61.    AMIGASCREEN Amiga custom screen
  62.    APOLLO      Apollo Graphics Primitive Resource (resizable window)
  63.    ATT6300     PC with AT&T 6300 graphics
  64.    BITGRAPH    BBN BitGraph
  65.    CGI         SCO CGI
  66.    COREL       COREL! Draw Format
  67.    CORONA      PC with Corona graphics 325
  68.    DXY800A     Roland DXY800A plotter
  69.    DUMB        Printer or glass dumb terminal
  70.    DXF         AutoCad (Release 10.x) dxf file format
  71.    EEPIC       EEPIC-extended LaTeX driver, for EEPIC users
  72.    EGALIB      PC with EGA/VGA graphics.
  73.    EMTEX       LaTeX picture environment with emTeX specials
  74.    EPS180      Epson-LQ style 24-pin 180-dot per inch printers
  75.    EPS60       Epson-style 60-dot per inch printers
  76.    EPSONP      Epson LX-800, Star NL-10, NX-1000 and lots of others
  77.    EXCL        Talaris EXCL laser printer format
  78.    FIG         Fig graphics language (requires object.h from TransFig)
  79.    GPR         Apollo Graphics Primitive Resource (fixed-size window)
  80.    HERCULES    IBM PC/Clone with Hercules graphics board
  81.    HP2648      HP2648, HP2647
  82.    HP26        HP2623A and maybe others
  83.    HP500C      HP Deskjet 500 C and maybe other Color Deskjets
  84.    HP75        HP7580, and probably other HPs
  85.    HPGL        HP7475 and (hopefully) lots of others
  86.    HPLJII      HP Laserjet II
  87.    HPPJ        HP PaintJet
  88.    IMAGEN      Imagen laser printers (300dpi) (requires -Iterm also)
  89.    IRIS4D      IRIS4D series computer
  90.    KERMIT      MS-DOS Kermit Tektronix 4010 emulator
  91.    LATEX       LaTeX picture environment
  92.    MF          Metafont Format
  93.    MIF         FrameMaker MIF 3.00 Format
  94.    NEC         NEC CP6 pinwriter printer
  95.    NEXT        NeXTStep Window System (only grey scale)
  96.    OS2PM       OS/2 Presentation Manager
  97.    PBM         PBMPLUS pbm, pgm, ppm formats
  98.    PCL         HP PCL5 (actually  HPGL/2)
  99.    POSTSCRIPT  PostScript
  100.    PRESCRIBE   Kyocera Laser printer
  101.    PSLATEX     Postscript graphics, LaTeX labels and titles
  102.    PSTRICKS    PSTRICKS 0.91 format
  103.    QMS         QMS/QUIC laserprinter (Talaris 1200 and others)
  104.    REGIS       ReGis graphics (vt125, vt220, vt240, Gigis...)
  105.    RGIP        Redwood Graphics Interface Protocol
  106.    SELANAR     Selanar
  107.    STARC       Star Color Printer
  108.    SUN         Sun Microsystems Workstation
  109.    T410X       Tektronix 4106, 4107, 4109 and 420x terminals
  110.    TANDY60     Tandy DMP-130 series 60-dot per inch graphics
  111.    TEK         Tektronix 4010, and probably others
  112.    TEXDRAW     TeXDraw format (for LaTeX)
  113.    TGIF        TGIF X11 Drawing Tool
  114.    TPIC        Tpic specials for TeX
  115.    UNIXPC      unixpc (ATT 3b1 or ATT 7300)
  116.    UNIXPLOT    unixplot
  117.    V384        Vectrix 384 and tandy color printer
  118.    VTTEK       VT like Tektronix 4010 emulator
  119.    X11         X11R4 window system
  120.  
  121.  
  122. These #defines are defined automatically by various compilers, some
  123. gnuplot routines check these defines to implement features found in the
  124. various environments:
  125.  
  126. define        note
  127. ------        --------
  128. AMIGA_AC_5    defined for Manx Aztec C 5.2a on the Amiga
  129. AMIGA_SC_6_1  defined for SAS/C 6.1 or later versions on the Amiga
  130. apollo        defined by Apollo's C compilers.
  131. _CRAY         defined by CRAY's C compiler.
  132. __TURBOC__    defined automatically by  Borland C++ 3.x
  133. unix          defined by most unix C compilers.
  134. vms           (and VMS) defined by VAX-11 C under VMS.
  135. __ZTC__       Zortech C compiler under MSDOS.
  136. _Windows      defined by Borland C++ 3.0 compiling for MS-Windows
  137.  
  138.  
  139.                              TO COMPILE
  140.  
  141. under UNIX:
  142. To compile do:
  143.   Copy makefile.unx to Makefile
  144.       cp makefile.unx Makefile
  145.   Look through the Makefile to see if you need to make any changes.
  146.   See especially the HELPDEST and TERMFLAGS variables.  Edit if needed.
  147.   Alternatively, all these variables may be set as command line arguments to
  148.   'make'. For example:
  149.  
  150.         make <MACHINE> HELPDEST='/usr/um/misc/lib/gnuplot.gih' \
  151.                 DEST='/usr/um/misc/bin' READLINE=
  152.  
  153.   Edit term.h, to include/exclude terminals
  154.   Type
  155.       make
  156.   For further instructions.
  157.   If that works, try
  158.       make install
  159.   For further instructions.
  160.  
  161. under VMS:
  162.   To compile:
  163.      copy makefile.vms makefile.
  164.      make
  165.   Or if you don't have a suitable make:
  166.      @buildvms
  167.   To tell gnuplot where to find the help library:
  168.       $ define gnuplot$help disk:[directory]gnuplot.hlb
  169.   Alternatively (and preferably) put the help in the main system help library.
  170.  
  171. under AmigaDOS:
  172. Using Aztec C 5.2a
  173.       make -f makefile.ami
  174. Using SAS/C 6.1 or later versions
  175.       smake -f makefile.amg
  176.  
  177. Using Microsoft C 7.0 and compiling for MS-Windows
  178.       copy makefile.msw makefile
  179.       nmake
  180.   Put wgnuplot.exe, wgnuplot.dll, wgnuplot.hlp and wgnuplot.mnu
  181.   in the windows directory.
  182.  
  183. under MSDOS:
  184. Using Microsoft C 7.0.
  185.       copy makefile.msc makefile
  186.       nmake 
  187.  
  188. Using Borland C++ 3.1 and compiling for MS-Windows
  189.       copy makefile.win makefile
  190.   Edit makefile to change TC.
  191.       make
  192.   Put wgnuplot.exe, wgnuplot.dll, wgnuplot.hlp and wgnuplot.mnu
  193.   in the windows directory.
  194.  
  195. Using Borland C++ 3.0
  196.       copy makefile.tc makefile
  197.   Edit makefile to change TC, BIN, BGI, BGIOBJ. You may also want to turn
  198.   off overlays (See manual for more on overlays).
  199.       make
  200.  
  201.  
  202. The file gnuplot.gih is needed for help on the PC.
  203. If the file gnuplot.gih is not in the default directory, then use:
  204.     set GNUHELP={full path name of gnuplot.gih}
  205.  
  206.  
  207.                          ENVIRONMENT VARIABLES
  208.  
  209. See 'help environment'.
  210.  
  211. If the environment variable GNUTERM is found, it is used as the terminal
  212. type. Otherwise, in some cases the variable TERM will be used, or the
  213. hardware may be automatically detected.
  214.  
  215. The PC version looks for the environment variable GNUPLOT to contain
  216. the name of the directory from which to load the initialization file
  217. GNUPLOT.INI.  See the help on 'start_up' for more information.
  218.  
  219. HOME is examined as a directory where a .gnuplot startup file might be
  220. found. See help on "start-up".
  221.  
  222. If defined, the environment variable GNUHELP is used for the name
  223. of the .gih help file, otherwise HELPFILE (defined in makefile or
  224. plot.c) is used.
  225.  
  226. The VMS version looks for the logical name GNUPLOT$HELP to locate
  227. the help library.
  228.  
  229. The CGI drivers need the CGIPATH environment variable to set the path
  230. to the CGI agents, and the CGIDISP and/or CGIPRNT environment
  231. variables to set the output devices.
  232.  
  233. The CGI drivers need the CGIPATH environment variable to set the path
  234. to the CGI agents, and the CGIDISP and/or CGIPRNT environment
  235. variables to set the output devices.
  236.